<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>商城管理</title>
     <script type="text/javascript" src="<c:url value='/static/js/admin/information/attributeMall.js' />"></script>
</head>

<body>
<c:if test="${!empty msg}">
	<div class="alert alert-green fadein-top"><span class="close rotate-hover"></span><strong>提示：</strong>${msg}</div>
</c:if>
<div class="panel admin-panel">
	<div class="panel-head"><strong>商城介绍</strong></div>
	<div class="padding">
		<form id="form" method="post" action="<c:url value='/admin/information/save' />" class="form">
			<input id="type" type="hidden" name="type" value="${information.type}"/>
			<div class="line">
				<div class="x12">
					<div class="form-group">
						<div class="label">
							<label></label>
						</div>
						<div class="field">
							<textarea class="input" id="content" name="content" style="height: 200px;"
							placeholder="请填写标题" data-validate="length#<=1000:不超过1000个字" >${information.content}</textarea>
						</div>
					</div>
				</div>
			</div>
			<br/>
			<div class="form-button" style="text-align: right;">
				<button id="save-btn" class="button bg-main" type="button">保存</button>
				<button onclick="locationHref('<c:url value='/admin/information/list?type=${information.type}' />')" class="button bg-gray" type="button">返回</button>
			</div>
		</form>
	</div>
</div>
</body>
</html>